//
//  JLXXViewController.m
//  JLXXTableController
//
//  Created by cnsuer on 05/11/2017.
//  Copyright (c) 2017 cnsuer. All rights reserved.
//

#import "JLXXViewController.h"
#import "BaseTabBarController.h"
@interface JLXXViewController ()

@end

@implementation JLXXViewController

- (void)viewDidLoad
{
    [super viewDidLoad];


}

- (IBAction)pushTest:(id)sender {
    
    BaseTabBarController *tab = [[BaseTabBarController alloc] init];
    [tab addChildControllerWithControllerName:@"UIViewController" normaImage:@"底部首页未选中" selectedImage:@"底部首页选中" navTitle:@"首页" tabBarTitle:@"首页" isRequireNavgation:YES];
    [tab addChildControllerWithControllerName:@"JLXXTestController" normaImage:@"底部我的未选中" selectedImage:@"底部我的选中" navTitle:@"我的" tabBarTitle:@"我的" isRequireNavgation:YES];
    
    tab.clickCenter = ^(){
        NSLog(@"clcik center");
    };
    
    [self presentNeedNavgation:NO presentendViewController:tab];
}

@end
